<template>
  <div class="wi-container">
    <p class="title">{{ title }}</p>
    <HelloWorld />
    {{ app }}
  </div>
</template>

<script lang="ts">
import { defineComponent, ref, computed } from "vue";
import { useStore } from "vuex";

export default defineComponent({
  setup() {
    const title = ref("Hello World");
    const store = useStore();
    let app = computed(() => store.state.app.app);

    return {
      title,
      app,
    };
  },
});
</script>

<style lang="scss" scoped>
.title {
  text-align: center;
  color: $font-color-senior;
}
</style>
